home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 58 / pcpp58a.iso / extras / quake 3 source / Q3A_ToolSource.exe / Main / TexEdit.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-02  |  1.3 KB  |  56 lines

  1. #if !defined(AFX_TEXEDIT_H__913F6812_99CD_11D1_B568_00AA00A410FC__INCLUDED_)
  2. #define AFX_TEXEDIT_H__913F6812_99CD_11D1_B568_00AA00A410FC__INCLUDED_
  3.  
  4. #if _MSC_VER >= 1000
  5. #pragma once
  6. #endif // _MSC_VER >= 1000
  7. // TexEdit.h : header file
  8. //
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CTexEdit window
  11.  
  12. class CTexWnd;
  13.  
  14. class CTexEdit : public CEdit
  15. {
  16. // Construction
  17. public:
  18.     CTexEdit();
  19.  
  20. // Attributes
  21. public:
  22.  
  23. protected:
  24.   CTexWnd* m_pTexWnd;
  25.   CFont m_Font;
  26. // Operations
  27. public:
  28.   void SetTexWnd(CTexWnd* pTex) {m_pTexWnd = pTex;};
  29.  
  30. // Overrides
  31.     // ClassWizard generated virtual function overrides
  32.     //{{AFX_VIRTUAL(CTexEdit)
  33.     //}}AFX_VIRTUAL
  34.  
  35. // Implementation
  36. public:
  37.     virtual ~CTexEdit();
  38.  
  39.     // Generated message map functions
  40. protected:
  41.     //{{AFX_MSG(CTexEdit)
  42.     afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
  43.     afx_msg void OnChange();
  44.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  45.     //}}AFX_MSG
  46.  
  47.     DECLARE_MESSAGE_MAP()
  48. };
  49.  
  50. /////////////////////////////////////////////////////////////////////////////
  51.  
  52. //{{AFX_INSERT_LOCATION}}
  53. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  54.  
  55. #endif // !defined(AFX_TEXEDIT_H__913F6812_99CD_11D1_B568_00AA00A410FC__INCLUDED_)
  56.